package com.hernie.piggymall.order.feign;

import com.hernie.piggymall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @Author HuangJp
 * @Date 2022/5/9
 * @Description
 */
@FeignClient("piggymall-cart")
public interface CartFeignService {

    @GetMapping("/currentUserCartItems")
    List<OrderItemVo> getCurrentCartItems();
}
